
package com.ruoyi.activity.domain;

import com.fasterxml.jackson.annotation.JsonInclude;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商家对象 tb_merchant
 * 
 * @author jll
 * @date 2025-06-13
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class TbMerchant extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 商家名称 */
    @Excel(name = "商家名称")
    private String merchantName;

    /** 商家二维码url */
    @Excel(name = "商家二维码url")
    private String merchantCodeUrl;

    @Excel(name = "已核销数量")
    private Integer cancelNumber;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setMerchantName(String merchantName) 
    {
        this.merchantName = merchantName;
    }

    public String getMerchantName() 
    {
        return merchantName;
    }

    public void setMerchantCodeUrl(String merchantCodeUrl) 
    {
        this.merchantCodeUrl = merchantCodeUrl;
    }

    public String getMerchantCodeUrl() 
    {
        return merchantCodeUrl;
    }

    public Integer getCancelNumber() {
        return cancelNumber;
    }

    public void setCancelNumber(Integer cancelNumber) {
        this.cancelNumber = cancelNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("merchantName", getMerchantName())
            .append("merchantCodeUrl", getMerchantCodeUrl())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
                .append("cancelNumber", getCancelNumber())
            .toString();
    }
}
